package com.gxa.logistics.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class CableUpdateDTO {
    public Integer getItem_num() {
        return item_num;
    }

    public void setItem_num(Integer item_num) {
        this.item_num = item_num;
    }

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public Byte getPlan_status() {
        return plan_status;
    }

    public void setPlan_status(Byte plan_status) {
        this.plan_status = plan_status;
    }

    public Byte getIn_status() {
        return in_status;
    }

    public void setIn_status(Byte in_status) {
        this.in_status = in_status;
    }

    public Byte getOut_status() {
        return out_status;
    }

    public void setOut_status(Byte out_status) {
        this.out_status = out_status;
    }

    public Integer getIn_num() {
        return in_num;
    }

    public void setIn_num(Integer in_num) {
        this.in_num = in_num;
    }

    public Integer getOut_num() {
        return out_num;
    }

    public void setOut_num(Integer out_num) {
        this.out_num = out_num;
    }

    public Byte getDis_status() {
        return dis_status;
    }

    public void setDis_status(Byte dis_status) {
        this.dis_status = dis_status;
    }

    public String getWire_name() {
        return wire_name;
    }

    public void setWire_name(String wire_name) {
        this.wire_name = wire_name;
    }

    public String getV_level() {
        return v_level;
    }

    public void setV_level(String v_level) {
        this.v_level = v_level;
    }

    public String getCross_section() {
        return cross_section;
    }

    public void setCross_section(String cross_section) {
        this.cross_section = cross_section;
    }

    public String getEstlen() {
        return estlen;
    }

    public void setEstlen(String estlen) {
        this.estlen = estlen;
    }

    public Date getDraw_date() {
        return draw_date;
    }

    public void setDraw_date(Date draw_date) {
        this.draw_date = draw_date;
    }

    @ApiModelProperty(name = "item_num", notes = "项目编号", dataType = "Integer", required = true)
    @NotNull(message = "项目编号不能为空")
    @TableField("item_num")
    private Integer item_num;



    //项目名称
    @ApiModelProperty(name = "item_name", notes = "项目名称", dataType = "String", required = true)
    @NotNull(message = "项目名称不能为空")
    @TableField("item_name")
    private String item_name;
    //计划状态
    @ApiModelProperty(name = "plan_status", notes = "计划状态", dataType = "Byte", required = true)
    @NotNull(message = "计划状态不能为空")
    @TableField("plan_status")
    private Byte plan_status;
    @ApiModelProperty(name = "in_status", notes = "入库状态", dataType = "Byte", required = true)
    @NotNull(message = "入库状态不能为空")
    //入库状态
    @TableField("in_status")
    private Byte in_status;
    //出库状态
    @ApiModelProperty(name = "out_status", notes = "出库状态", dataType = "Byte", required = true)
    @NotNull(message = "出库状态不能为空")
    @TableField("out_status")
    private Byte out_status;
    //入库数量
    @ApiModelProperty(name = "in_num", notes = "入库数量", dataType = "Integer", required = true)
    @NotNull(message = "入库数量不能为空")
    @TableField("in_num")
    private Integer in_num;
    //出库数量
    @ApiModelProperty(name = "out_num", notes = "出库数量", dataType = "Integer", required = true)
    @NotNull(message = "出库数量不能为空")
    @TableField("out_num")
    private Integer out_num;
    //派单状态
    @ApiModelProperty(name = "DisStatusReqListDTO", notes = "派单状态", dataType = "Byte", required = true)
    @NotNull(message = "派单状态不能为空")
    @TableField("DisStatusReqListDTO")
    private Byte dis_status;
    //电线名称
    @ApiModelProperty(name = "wire_name", notes = "电线名称", dataType = "String", required = true)
    @NotNull(message = "电线名称不能为空")
    @TableField("wire_name")
    private String wire_name;
    //电压等级
    @ApiModelProperty(name = "v_level", notes = "电压等级", dataType = "String", required = true)
    @NotNull(message = "电压等级不能为空")
    @TableField("v_level")
    private String v_level;
    //电缆截面
    @ApiModelProperty(name = "cross_section", notes = "电缆截面", dataType = "String", required = true)
    @NotNull(message = "电缆截面不能为空")
    @TableField("cross_section")
    private String cross_section;
    //预计抽取长度
    @ApiModelProperty(name = "estlen", notes = "预计抽取长度", dataType = "String", required = true)
    @NotNull(message = "预计抽取长度不能为空")
    private String estlen;
    //抽取日期
    @ApiModelProperty(name = "draw_date", notes = "抽取日期", dataType = "Date", required = true)
    @NotNull(message = "抽取日期不能为空")
    @TableField("draw_date")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date draw_date;
}
